import { Directive } from '@angular/core';
import { NG_VALIDATORS } from '@angular/forms';
import { passwordValidate } from '../validators/formsValidators';
@Directive({
  selector: '[password]',
  providers:[{provide:NG_VALIDATORS,useValue:passwordValidate,multi:true}]
})
export class EqualValidatorDirective {

  constructor() { }

}
